/**
 * 统计面板样式
 */
.statistics-panel {
  width: 100%;
}

.statistics-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.statistics-cards {
  margin-top: 16px;
}

.statistics-cards .ant-card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.statistics-cards .ant-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.statistics-cards .ant-statistic-title {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
  margin-bottom: 8px;
}

.statistics-cards .ant-statistic-content {
  font-size: 24px;
  font-weight: 600;
}

.statistics-cards .ant-statistic-content-prefix {
  margin-right: 8px;
  font-size: 20px;
}

.statistics-cards .ant-statistic-content-suffix {
  font-size: 16px;
  margin-left: 4px;
  font-weight: normal;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .statistics-panel-header {
    flex-direction: column;
    align-items: stretch;
  }

  .statistics-panel-header .ant-segmented {
    width: 100%;
  }

  .statistics-panel-header .ant-space {
    width: 100%;
    justify-content: flex-end;
  }

  .statistics-cards .ant-statistic-content {
    font-size: 20px;
  }
}

/* 移动端适配 */
@media (max-width: 576px) {
  .statistics-panel-header .ant-space {
    flex-direction: column;
    width: 100%;
  }

  .statistics-panel-header .ant-space .ant-btn {
    width: 100%;
  }

  .statistics-cards .ant-card {
    margin-bottom: 8px;
  }
}
